package com.otp.webapp.comparators;

import java.util.Comparator;
import com.otp.model.test.template.Attribute;

public class CompAttributesByOrder implements Comparator<Attribute>{

	//@Override
	public int compare(Attribute at1, Attribute at2){
		int order1 = (int) (long) at1.getOrder();
		int order2 = (int) (long) at2.getOrder();
		return order1-order2;
	}

}
